<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    #red {
        color: red;
        font-size: 40px;
    }
</style>

<body>
    <!-- 
        id选择器在实际的开发中是与JavaScript一起用的,很少用来设计css的样式
    -->
    <div id="red">平安喜乐 万事顺逐</div>
</body>

</html>